ProtectToolkit-J troubleshooting
This section describes solutions to issues you might encounter while using PTK-J.
If you encounter issues while using the gCTAdmin and KMU GUI utilities that are included with ProtectToolkit-J, the Java Runtime Environment (JRE) might not have been installed prior to installing ProtectToolkit-J. Uninstall both packages and reinstall them in the correct order. For more information about ProtectToolkit system requirements, see System Requirements.
Key Management Utility (KMU) error messages and warnings
This section describes error messages and warnings specific to KMU.
KMU-specific warning messages
Warning message | Action |
---|---|
Incompatible Cryptoki Version | An attempt was made to use a feature of another Cryptoki version |
Use Admin utility to initialize tokens | Initialize tokens before attempting to access them |
Re-initializing the token will erase all currently stored keys | Store all further needed objects on cards/files before initailizing the token |
KMU-specific error messages
Error message | Action |
---|---|
Couldn’t download SAM | The Software Application Module (SAM) that is used by the KMU when performing smart card operations was not set correctly. Check that the smart card reader is securely attached to the lower port of the ProtectServer 3 HSM. After having verified the connection, open a command prompt and change into the directory where the KMU is installed. Type: SAMDEVL and press Enter |
Couldn’t get smart card to respond | Check the connection between the smart card reader and the ProtectServer 3 HSM |
Not enough room left on smart card for export | Re-initialize the card and erase its contents, and repeat the export operation |
Smart card was not initialized | Re-initialize the smart card and retrieve information about the card |
The key used to import was not the same as the key used to export | Retry the export/import operation using the same key for wrapping and unwrapping |
The imported key-set has been tampered | Retry the export/import operation using the same key for wrapping and unwrapping, or with a new keyset from another file or smart card. |
Smart card was not initialized. Export Failed | Initialize the smart card before attempting to export keys |
Smart card has already been processed | Retry the import operation using another card from the same batch |
Smart card is from a different batch | Retry the import operation using another card from the given batch |
The card inserted has already been written as part of this batch. Please insert another card | Insert a new card |
There are no keys stored on the inserted card | Insert a card with keys stored on it |
Please select a file to read | Specify the file containing the key before importing |
Couldn’t read the selected file | Check the file’s read access rights |
Unable to open selected file | Check the file’s path and access rights |
An error occurred when writing file | Retry the export to file operation making sure that the path is correct and adequate access to the file is provided |
No wrapping key selected | Specify a wrapping key before attempting to write a key to the file |
An unwrapping key is required for this batch | Retry the import operation after making sure that the correct unwrapping key was selected |
An unwrapping key is not required for this batch | The keys were exported using a random wrapping key. Specify no unwrapping key for import operations |
Could not generate KVC on a key with Encrypt(E) attribute set to false | Only KVC’s of keys enabled for encryption can be calculated |
No KVC entered | Re-enter the key with a KVC |
No component entered | An attempt was made to store a key without having entered any key components |
Wrong key size | When generating keys use the key ranges specified on page |
User PIN’s don’t match | Make sure that you use the same user and user verification PINs. |
SO PIN’s don’t match | Make sure that you use the same SO and SO verification PIN |
Incorrect PIN length | Re-enter the PIN using a PIN length between 4 and 32 |
Incorrect PIN | An attempt was made to enter an incorrect character in the PIN string |
User PIN is blocked | Unblock the PIN as SO, and then retry the operation |
For other error messages generated by Cryptoki functions, see the PKCS#11 documentation.